<?php

class WidgetFormDatePastPeriod extends WidgetFormDateCustomized
{
	protected function configure($options = array(), $attributes = array()) {
		parent::configure($options, $attributes);
		$years = range(1950, date("Y") + 1);
		$years = array_reverse($years);
		$this->addOption('years', array_combine($years, $years));
	}
}
?>